package service;

import pojo.User;

import java.util.List;

public interface UserService {

    List<User> findAll(User user ,int offset,int pageSize);

    int addUser(User user);

    User findById(Integer id);

    int updateUser(User user);

    int deleteUserById(Integer id);

    int count(User condition);
}
